package com.leyou.auth;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author YYP
 * @date 2020/12/28
 */
@SpringBootApplication(scanBasePackages = {"com.leyou.auth","com.leyou.common.advice"})
@EnableFeignClients(basePackages = "com.leyou.user.client")
@MapperScan("com.leyou.auth.mapper")
public class LyAuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(LyAuthApplication.class);
    }
}
